<?php

declare(strict_types=1);

namespace App\CustHub\Model;

use Mine\MineModel;

/**
 * @property int $id 
 * @property int $uid 
 * @property int $main_uid 
 * @property string $room_wxid 群微信ID
 * @property string $create_user_id 
 * @property int $status 状态（1 = 拉人中，2 = 递补中，3 = 群已满）
 * @property int $add_number 已发邀请人数
 * @property int $human_ceiling 人数上限
 * @property int $sort 排序
 * @property int $robot_id 机器人id
 * @property int $is_new 
 * @property string $created_at 
 * @property string $updated_at 
 */
class ChAddFriendRoom extends MineModel
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'ch_add_friend_room';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'uid', 'main_uid', 'room_wxid', 'create_user_id', 'status', 'add_number', 'human_ceiling', 'sort', 'robot_id', 'is_new', 'created_at', 'updated_at'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'uid' => 'integer', 'main_uid' => 'integer', 'status' => 'integer', 'add_number' => 'integer', 'human_ceiling' => 'integer', 'sort' => 'integer', 'robot_id' => 'integer', 'is_new' => 'integer'];
}
